package com.myacg.platform.ui.component.pane;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;
/**
 * 默认的面板 有固定的宽高
 * @author Administrator
 *
 */
public class DefaltPane extends JPanel{
	private int width;
	private int height;
	public  DefaltPane(int width,int height,Color color){
		this.width=width;
		this.height=height;
		this.setSize(new Dimension(width, height));
		this.setLayout(null);
		this.setBackground(color);
	}  
	
}
